Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Fix NRE in Shell SearchHandlerAppearanceTracker #24970

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

aheubusch
Copy link
Contributor

@aheubusch aheubusch commented Sep 27, 2024

Description of Change

Fix crash on iOS involving Shell SearchHandler.
Fallback to _defaultPlaceholderTintColor if targetColor is null in UpdateClearPlaceholderIconColor.

Issues Fixed

Fixes #19504
A previous PR fixed an identical problem #11927

Steps to Reproduce

Create a shell with two shell content. Add a SearchHandler to one ShellContent ContentPage.
Start application. Click on the SearchHandler. Navigate to the other page. Navigate back. NullReferenceException crash.

@aheubusch aheubusch requested a review from a team as a code owner September 27, 2024 14:20
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Sep 27, 2024
@jfversluis
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@aheubusch
Copy link
Contributor Author

@jfversluis Sorry to be annoying. Can we retry the failed checks or even better just wave this PR through =) I dare say the change wont break anything.
Two failed in task "Install .NET". One timed out in task "Android emulator tests Graphics_API_23".

@jfversluis
Copy link
Member

A community PR is never annoying!

I dare say the change wont break anything.

Famous last words...

@jfversluis
Copy link
Member

Thank you so much for your contribution! And for Hacktoberfest too! Go update your LinkedIn and social media profiles!

@jfversluis jfversluis merged commit 5dc75ac into dotnet:main Oct 2, 2024
97 checks passed
@aheubusch aheubusch deleted the patch-1 branch October 2, 2024 12:33
@samhouts samhouts added fixed-in-net8.0-nightly This may be available in a nightly release! fixed-in-net9.0-nightly This may be available in a nightly release! labels Oct 14, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community ✨ Community Contribution fixed-in-net8.0-nightly This may be available in a nightly release! fixed-in-net9.0-nightly This may be available in a nightly release!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullPointer from SearchHandlerAppearanceTracker on iOS
3 participants